//
//  RecordingViewController.h
//  MoneyLog
//
//  Created by wicresoft on 5/16/11.
//  Copyright 2011 wicresoft. All rights reserved.
//

#import <UIKit/UIKit.h>

#import "AQLevelMeter.h"

#import "AQPlayer.h"
#import "AQRecorder.h"

@interface RecordingViewController : UIViewController {
    IBOutlet UIBarButtonItem*	btn_record;
	IBOutlet UIBarButtonItem*	btn_play;
	IBOutlet UILabel*			fileDescription;
	IBOutlet AQLevelMeter*		lvlMeter_in;
	
	AQPlayer*					player;
	AQRecorder*					recorder;
	BOOL						playbackWasInterrupted;
	BOOL						playbackWasPaused;
	
	CFStringRef					recordFilePath;	
}

@property (nonatomic, retain)	UIBarButtonItem		*btn_record;
@property (nonatomic, retain)	UIBarButtonItem		*btn_play;
@property (nonatomic, retain)	UILabel				*fileDescription;
@property (nonatomic, retain)	AQLevelMeter		*lvlMeter_in;

@property (readonly)			AQPlayer			*player;
@property (readonly)			AQRecorder			*recorder;
@property						BOOL				playbackWasInterrupted;

- (IBAction)record: (id) sender;
- (IBAction)play: (id) sender;


@end
